package com.vogtec.fota;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * Created by wei on 2017/7/3.
 */
@SpringBootApplication(
        scanBasePackages = {"com.vogtec.fota","com.vogtec.springboot.util","com.vogtec.springboot.mybatis"} )
@MapperScan(basePackages="com.vogtec.fota.dao")
@EnableDiscoveryClient
@EnableFeignClients
public class UpgradeMainApplication {

    public static void main(String[] args){

        SpringApplication.run(UpgradeMainApplication.class);

    }
}
